package com.erp.erp_servers.CustomerShare;

import com.erp.erp_entitys.CustomerShare.CustomerShareEntity;
import com.erp.erp_entitys.CustomerShare.CustomerShareExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ICustomerShareService
 * @Description TODO
 * @Author songjizhen
 * @Date 2020-06-29 20:05
 * @Version 1.0
 */
public interface ICustomerShareService {
    long countByExample(CustomerShareExample example);

    int deleteByExample(CustomerShareExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CustomerShareEntity record);

    int insertSelective(CustomerShareEntity record);

    List<CustomerShareEntity> selectByExample(CustomerShareExample example);

    CustomerShareEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CustomerShareEntity record, @Param("example") CustomerShareExample example);

    int updateByExample(@Param("record") CustomerShareEntity record, @Param("example") CustomerShareExample example);

    int updateByPrimaryKeySelective(CustomerShareEntity record);

    int updateByPrimaryKey(CustomerShareEntity record);
}
